package com.bestv.search.common.service;

import com.bestv.search.common.dataSource.DataSourceKey;
import com.bestv.search.common.model.Schedule;

import java.util.List;

public interface ScheduleManager {

    void saveScheduleList(DataSourceKey key, List<Schedule> list);

    List<Schedule> getSchedulesByCode(DataSourceKey key, String code);

    List<Schedule> getExpiredSchedules(DataSourceKey key);
}
